package com.mycompany.lctwitter.persist.dao;

import java.util.List;

import org.springframework.stereotype.Repository;
import org.springside.modules.orm.hibernate.HibernateDao;

import com.mycompany.lctwitter.persist.model.Location;

@Repository("locationDao")
public class LocationDao extends HibernateDao<Location, Long> {

    public List<Location> list() {
        return find("from Location");
    }
}
